<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Locales')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-locales" data-rule="required" class="form-control selectpicker" name="row[locales]">
                {foreach name="localesList" item="vo"}
                    <option value="{$key}" {in name="key" value="zh"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Demo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-demo" class="form-control " rows="5" name="row[demo]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cfghasdatelimit')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-cfghasdatelimit" class="form-control selectpicker" name="row[cfghasdatelimit]">
                {foreach name="cfghasdatelimitList" item="vo"}
                    <option value="{$key}" {in name="key" value="N"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cfgbegintime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cfgbegintime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[cfgbegintime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cfgendtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cfgendtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[cfgendtime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cfgmaxanswercount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cfgmaxanswercount" class="form-control" name="row[cfgmaxanswercount]" type="number" value="1">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cfgresultmsg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cfgresultmsg" class="form-control" name="row[cfgresultmsg]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cfgresultmsgimage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-cfgresultmsgimage" class="form-control" size="50" name="row[cfgresultmsgimage]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-cfgresultmsgimage" class="btn btn-danger faupload" data-input-id="c-cfgresultmsgimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-cfgresultmsgimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-cfgresultmsgimage" class="btn btn-primary fachoose" data-input-id="c-cfgresultmsgimage" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-cfgresultmsgimage"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-cfgresultmsgimage"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cfghastimelimit')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-cfghastimelimit" class="form-control selectpicker" name="row[cfghastimelimit]">
                {foreach name="cfghastimelimitList" item="vo"}
                    <option value="{$key}" {in name="key" value="N"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cfgtimelimitsecs')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cfgtimelimitsecs" class="form-control" name="row[cfgtimelimitsecs]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cfgdisplayscore')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-cfgdisplayscore" class="form-control selectpicker" name="row[cfgdisplayscore]">
                {foreach name="cfgdisplayscoreList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="normal"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themebannertype')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-themebannertype" class="form-control selectpicker" name="row[themebannertype]">
                {foreach name="themebannertypeList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themebannerstring')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-themebannerstring" class="form-control " rows="5" name="row[themebannerstring]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themebannerstringstyle')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-themebannerstringstyle" class="form-control" name="row[themebannerstringstyle]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themebannerstringdivstyle')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-themebannerstringdivstyle" class="form-control" name="row[themebannerstringdivstyle]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themebannerimage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-themebannerimage" class="form-control" size="50" name="row[themebannerimage]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-themebannerimage" class="btn btn-danger faupload" data-input-id="c-themebannerimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-themebannerimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-themebannerimage" class="btn btn-primary fachoose" data-input-id="c-themebannerimage" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-themebannerimage"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-themebannerimage"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themebannerimages')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-themebannerimages" class="form-control" size="50" name="row[themebannerimages]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-themebannerimages" class="btn btn-danger faupload" data-input-id="c-themebannerimages" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-themebannerimages"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-themebannerimages" class="btn btn-primary fachoose" data-input-id="c-themebannerimages" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-themebannerimages"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-themebannerimages"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themelogoimage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-themelogoimage" class="form-control" size="50" name="row[themelogoimage]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-themelogoimage" class="btn btn-danger faupload" data-input-id="c-themelogoimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-themelogoimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-themelogoimage" class="btn btn-primary fachoose" data-input-id="c-themelogoimage" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-themelogoimage"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-themelogoimage"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themelogodivstyle')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-themelogodivstyle" class="form-control" name="row[themelogodivstyle]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themetitlefont')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-themetitlefont" class="form-control" name="row[themetitlefont]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themetitledivstyle')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-themetitledivstyle" class="form-control" name="row[themetitledivstyle]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themequestionfont')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-themequestionfont" class="form-control" name="row[themequestionfont]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themequestiondivstyle')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-themequestiondivstyle" class="form-control" name="row[themequestiondivstyle]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themeoptionsfont')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-themeoptionsfont" class="form-control" name="row[themeoptionsfont]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themeoptionsdivstyle')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-themeoptionsdivstyle" class="form-control" name="row[themeoptionsdivstyle]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themesubmitstring')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-themesubmitstring" class="form-control" name="row[themesubmitstring]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themesubmitdivstyle')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-themesubmitdivstyle" class="form-control" name="row[themesubmitdivstyle]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themewelcomefont')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-themewelcomefont" class="form-control" name="row[themewelcomefont]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themewelcomedivstyle')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-themewelcomedivstyle" class="form-control" name="row[themewelcomedivstyle]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themeendfont')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-themeendfont" class="form-control" name="row[themeendfont]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themeendedivstyle')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-themeendedivstyle" class="form-control" name="row[themeendedivstyle]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themetitleshow')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-themetitleshow" class="form-control selectpicker" name="row[themetitleshow]">
                {foreach name="themetitleshowList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Themequestionnoshow')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-themequestionnoshow" class="form-control selectpicker" name="row[themequestionnoshow]">
                {foreach name="themequestionnoshowList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
